
/* maxiao.maxiao
   define the 'qualifier' for diff platform/HW 
   such as:
   	PLATFORM_DEFINE=???, define the read-only data for ROM
*/

#ifndef __PLATFORM_DEFINE_H__
#define __PLATFORM_DEFINE_H__

#include <stdio.h>
#include <stdlib.h>

#define LINUX 10
#define XR871 11
#define XR32  12
#define SC5654A 13
#define YOC 14
#define YOC1 14
#define YOC2 15
#define OTHERS 20

#define PLATFORM_DEFINE YOC

#ifdef PLATFORM_DEFINE 
#if (PLATFORM_DEFINE==XR871)

#include "compiler.h"
#define RODATA __xip_rodata

#else //not for XR871
#define RODATA 
#endif

#else //not define PLATFORM_DEFINE

#define RODATA

#endif

#endif
